package com.gimi.cloud.jimi.manage.consumer.service.sys;

import com.gimi.cloud.jimi.common.exception.MsgException;
import com.gimi.cloud.jimi.common.utils.reqhead.Response;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by shazhiwei on 2017/12/18.
 */
public interface AuthService {
    /** 权限列表 */
    Response authList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    /** 授权操作 */
    Response doAuth(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

}
